POV-Ray : Newsgroups : povray.binaries.animations : water waves simulation (349k) : water waves simulation (349k) Server Time
20 Jul 2024 01:23:54 EDT (-0400)
  water waves simulation (349k)  
From: Christoph Hormann
Date: 15 Nov 2001 12:01:14
Message: <3BF3F462.66F806EA@gmx.de>
The algorithm used for the waves is described in:

http://www.first.gmd.de/persons/bwalter/html/report/report.html

and in an article from the german computer magazine 'PC Magazin', issue
12/2001.  

The main idea is to superpose several sine waves (160 in this case) with
different frequencies and directions according to a certain distribution
function.

It is right now implemented as a heightfield, i already thought about
generating an isosurface function instead, but i'm not sure how slow this
would be with 160 sine functions.

The main problem is of course that there is no interaction with the walls
of the pool and generating a sufficiently large water plane with a
heightfield is problematic.

Christoph

-- 
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other 
things on: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message


Attachments:
Download 'waves5.mpg' (349 KB)

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.